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": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    {
                        "code": "gender"
                    }
                ],
                "text": "M"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "gender"{
                        "code": "gender"
                    }
                ],
                "text": "F"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "age"{
                        "code": "age"
                    }
                ],
                "text": "A"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "age"{
                        "code": "age"
                    }
                ],
                "text": "K"
            }
        },
        {
            "url": "useContext",
            "valueCodeableConcept": {
                "coding": [
                    "venue"{
                         ]"code": "venue",
                "text        "system": "O"
                    }
                ]
            }
        }
    ],
    "form": "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"
        }
    ]
}

...