1. Validate instance

An example instance of your profile is given below in JSON and is accesible through this link: acme-product-labx-INVALID-no-meta-profile. This instance should be invalid against your created profile.

{
    "resourceType": "Observation",
    "id": "acme-product-labx-INVALID-no-meta-profile",
    "meta": {
        "profile":  [
            "ADD YOUR PROFILE CANONICAL URL HERE"
        ]
    },
    "status": "final",
    "category":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "laboratory",
                    "display": "Laboratory"
                }
            ],
            "text": "Laboratory"
        }
    ],
    "code": {
        "coding":  [
            {
                "system": "http://loinc.org",
                "code": "789-8",
                "display": "RBC # Bld Auto"
            }
        ],
        "text": "RBC # Bld Auto"
    },
    "subject": {
        "reference": "Patient/example",
        "display": "Amy Shaw"
    },
    "effectiveDateTime": "2015-07-05",
    "valueString": "4.58 - 10*6/uL",
    "interpretation":  [
        {
            "coding":  [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation",
                    "code": "N-8",
                    "display": "Normal"
                }
            ]
        }
    ]
}

 

  • Copy or download the example instance
  • Update the Observation.meta.profile to the canonical URL of your created profile
  • Navigate to simplifier.net/validate and paste the example
  • Search for your package and select the appropriate version
  • Validate!

The instance should be invalid. Examine the results.