1. Validate an instance against a package version

Simplifier.net's validator allows scoping the validation to a specific package or a Simplifier project. ACME has published the following acme.product.r4 1.0.0 package that will be used in this exercise.

{
    "resourceType": "Observation",
    "id": "acme-product-observation-VALID",
    "meta": {
        "versionId": "1189",
        "lastUpdated": "2016-03-09T15:29:58.419+00:00",
        "profile":  [
            "https://fake-acme.org/fhir/StructureDefinition/ACME-product-observation-lab"
        ]
    },
    "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": "2005-07-05",
    "valueQuantity": {
        "value": 4.58,
        "unit": "10*6/uL",
        "system": "http://unitsofmeasure.org"
    },
    "referenceRange":  [
        {
            "low": {
                "value": 4.1,
                "unit": "10*6/uL",
                "system": "http://unitsofmeasure.org",
                "code": "10*6/uL"
            },
            "high": {
                "value": 6.1,
                "unit": "10*6/uL",
                "system": "http://unitsofmeasure.org",
                "code": "10*6/uL"
            },
            "appliesTo":  [
                {
                    "coding":  [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning",
                            "code": "normal",
                            "display": "Normal Range"
                        }
                    ],
                    "text": "Normal Range"
                }
            ]
        }
    ]
}

 

  • Make sure R4 is selected
  • Click on the green select button within Scope
  • Search for acme.product.r4, click “show all version” and select version 1.0.0
  • Hit the validate button

2020-06-05 12_42_35-SIMPLIFIER.NET  

Validation should be successful!