Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to fix duplication of codes in some LOINC Answer Lists. #1482

Closed
dmuylwyk opened this issue Sep 10, 2019 · 3 comments
Assignees
Labels
bug

Comments

@dmuylwyk
Copy link
Collaborator

@dmuylwyk dmuylwyk commented Sep 10, 2019

For example:

All three codes are duplicated in ValueSet.compose.include (pre-expansion of ValueSets ensures the expansion will not include duplicates).

https://fhir-dev.loinc.org/ValueSet/LL2451-4/$expand

{
  "resourceType": "ValueSet",
  "status": "active",
  "compose": {
    "include": [
      {
        "system": "http://loinc.org",
        "concept": [
          {
            "code": "LA14100-4",
            "display": "Undetermined"
          },
          {
            "code": "LA6576-8",
            "display": "Positive"
          },
          {
            "code": "LA6577-6",
            "display": "Negative"
          },
          {
            "code": "LA14100-4",
            "display": "Undetermined"
          },
          {
            "code": "LA6576-8",
            "display": "Positive"
          },
          {
            "code": "LA6577-6",
            "display": "Negative"
          }
        ]
      }
    ]
  },
  "expansion": {
    "identifier": "ba8a1dd2-dbb3-4ac9-bb5e-3d48d44cf9d1",
    "timestamp": "2019-09-10T18:26:47+00:00",
    "total": 3,
    "offset": 0,
    "parameter": [
      {
        "name": "offset",
        "valueInteger": 0
      },
      {
        "name": "count",
        "valueInteger": 1000
      }
    ],
    "contains": [
      {
        "system": "http://loinc.org",
        "code": "LA6576-8",
        "display": "Positive"
      },
      {
        "system": "http://loinc.org",
        "code": "LA6577-6",
        "display": "Negative"
      },
      {
        "system": "http://loinc.org",
        "code": "LA14100-4",
        "display": "Undetermined"
      }
    ]
  }
}
@dmuylwyk dmuylwyk added the bug label Sep 10, 2019
@dmuylwyk dmuylwyk self-assigned this Sep 10, 2019
@dmuylwyk

This comment has been minimized.

Copy link
Collaborator Author

@dmuylwyk dmuylwyk commented Sep 20, 2019

@dmuylwyk

This comment has been minimized.

Copy link
Collaborator Author

@dmuylwyk dmuylwyk commented Sep 20, 2019

Pull request: #1498

@dmuylwyk

This comment has been minimized.

Copy link
Collaborator Author

@dmuylwyk dmuylwyk commented Sep 23, 2019

Merged.

@dmuylwyk dmuylwyk closed this Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.