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": "useContextGender",
            "valueUsageContext": {
                "code": {
                    "code": "gender"
                },
                "valueCodeableConcept": {
                    "coding": [
                        {
                            "code": "M",
                            "display": "Male"
                        },
                        {
                            "code": "F",
                            "display": "Female"
                        }
                    ],
                    "text": "Male or Female"
                }
            }
        },
        {
            "url": "useContextAge",
            "valueUsageContext": {
                "code": "age", {
                    "valueCodeableConceptcode": {"age"
                },
                "valueCodeableConcept": {
                    "coding": [
                        {
                            "code": "A",
                            "display": "Adult"
                        },
                        {
                            "code": "K",
                            "display": "Kid"
                        }
                    ],
                    "text": "Adult or Kid"
                }
            }
        },
        {
            "url": "useContextVenue",
            "valueUsageContext": {
                "code": {
                    "code": "venue"
                },
                "valueCodeableConcept": {
                    "coding": [
                        {
                            "code": "O",
                            "display": "Out-patient"
                        }
                    ],
                    "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"
        }
    ]
}

...