Versions Compared

Key

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

...

Expand
titleExample JSON representation of content
Code Block
languagejson
{
    "resourceType": "Medication",
    "code": {
        "coding": [
            {
                "code": "0001"
            }
        ],
        "text": "ACETYLSALICYLIC ACID (ASPIRIN)  TABS 300MG"
    },
    "extension": [
        {
            "url": "unitPrice",
            "valueMoney": {
                "currency": "$",
                "value": 10.0
            }
        },
        {
            "url": "frequency",
            "valueInteger": 0
        },
        {
            "url": "topic",
            "valueCodeableConcept": {
                "coding": [
                    {
                        "code": "DefinitionTopic",
                        "system": "http://terminology.hl7.org/CodeSystem/definition-topic"
                    }
                ],
                "text": "D"
            }
        },
        {
            "url": "useContextuseContextGender",
            "valueCodeableConceptvalueUsageContext": {
                "codingcode": ["gender",
                   "valueCodeableConcept": {
   
                    "codecoding": "gender"[
                    }     {
           ],                 "textcode": "M",
             }          },     "display": "Male"
  {             "url": "useContext",        },
    "valueCodeableConcept": {                    {
           "coding": [                "code": "F",
   {                         "codedisplay": "genderFemale"
                        }
                    ],
                    "text": "FMale or Female"
            }    }
    },        }
        },
        {
            "url": "useContextuseContextAge",
            "valueCodeableConceptvalueUsageContext": {
                "codingcode": ["age",
                   "valueCodeableConcept": {
                        "codecoding": "age"[
                    }     {
           ],                 "textcode": "A",
            }         },         {
            "url"display": "useContextAdult",
             "valueCodeableConcept": {          },
      "coding": [                 {
   {                         "code": "ageK",
                    }        "display": "Kid"
       ],                 "text": "K"}
             }         },],
                    "text": "Adult or Kid"
                }
            }
        },
        {
            "url": "useContextVenue",
            "valueUsageContext": {
                "code": "venue",
                "valueCodeableConcept": {
                    "urlcoding": "useContext",
  [
                        {
          "valueCodeableConcept": {                 "codingcode": [ "O",
                        {    "display": "Out-patient"
                    "code": "venue",   }
                    ],
"system": "O"                   "text": "Clinical }Venue"
                ]}
            }
        }
    ],
    "form": {
        "coding": [
            {
                "code": "package"
            }
        ],
        "text": "1000 TABLETS"
    },
    "id": "92F1654E-290D-4BEE-93B8-2639685ACEB3",
    "identifier": [
        {
            "type": {
                "coding": [
                    {
                        "code": "UUID",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "92F1654E-290D-4BEE-93B8-2639685ACEB3"
        },
        {
            "type": {
                "coding": [
                    {
                        "code": "IC",
                        "system": "https://hl7.org/fhir/valueset-identifier-type.html"
                    }
                ]
            },
            "use": "usual",
            "value": "0001"
        }
    ]
}

...