Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To determine whether to use integer or decimal, use the ConceptMap conceptmap-obs-code-to-value-type as follows:

  1. Call $translate on the given code and system:

    1. GET <base-url>/fhir/ConceptMap/$translate?system=<system>urn:oid:1.2.208.176.2.1&code=<code>NPU03804&target=TBD TBD TBD TBDhttp://hl7.org/fhir/ValueSet/data-types"

  2. On match found, indication of whether to use integer or decimal are the matching concept’s code and system, respectively, where the source ConceptMap is “http://ehealth.sundhed.dk/ConceptMap/conceptmap-obs-code-to-type” value-type(see example response below).

  3. The codes integer and decimal in system http://hl7.org/fhir/data-types signify that the observed value or reference range shall be given as integer and decimal, respectively.

Info

Example request and response on $translate on conceptmap-obs-code-to-value-type

Request:

GET <base-url>/fhir/ConceptMap/$translate?system=urn:oid:1.2.208.176.2.1&code=NPU03804&target=http://hl7.org/fhir/ValueSet/data-types

Response:

{
    "resourceType": "Parameters",
    "parameter": [
        {
            "name": "result",
            "valueBoolean": true
        },
        {
            "name": "message",
            "valueString": "Matches found!"
        },
        {
            "name": "match",
            "part": [
                {
                    "name":TBD "equivalence",
                    "valueCode": "specializes"
                },
                {
                    "name": "concept",
                    "valueCoding": {
                        "system": "http://hl7.org/fhir/data-types",
                        "code": "decimal",
                        "display": "decimal"
                    }
                },
                {
                    "name": "source",
                    "valueUri": "http://ehealth.sundhed.dk/ConceptMap/conceptmap-obs-code-to-value-type"
                }
            ]
        }
    ]
}